package com.groupbuying.currency.consumer.domain;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 积分日志表
 *
 * @author zmlmagic
 * @email zmlmagic@163.com
 * @date 2019-09-27 15:19:41
 * @des
 */
public class CurrencyCustomerLogDO implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 日志id
     */
    private String logId;

    /**
     * 会员id
     */
    private String customerId;

    /**
     * 支付id
     */
    private String payId;

    /**
     * 删除标记:未删除-UNDEL-1,删除-DEL-0
     */
    private String delFlag;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 碎银流向:活动-ACTIVITY-01,消费-SHOPING-02
     */
    private String currencySource;

    /**
     * 活动id
     */
    private String activityId;

    /**
     * 碎银变化类型:增加-ADD-01,减少-LESS-02,无变化-ORI-03
     */
    private String currencyType;

    /**
     * 碎银变化量
     */
    private BigDecimal currencyCount;

    /**
     * 用户当前积分余额
     */
    private BigDecimal currencyBalance;

    /**
     * 设置：日志id
     */
    public void setLogId(String logId) {
        this.logId = logId;
    }

    /**
     * 获取：日志id
     */
    public String getLogId() {
        return logId;
    }

    /**
     * 设置：会员id
     */
    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    /**
     * 获取：会员id
     */
    public String getCustomerId() {
        return customerId;
    }

    /**
     * 设置：支付id
     */
    public void setPayId(String payId) {
        this.payId = payId;
    }

    /**
     * 获取：支付id
     */
    public String getPayId() {
        return payId;
    }

    /**
     * 设置：删除标记:未删除-UNDEL-1,删除-DEL-0
     */
    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    /**
     * 获取：删除标记:未删除-UNDEL-1,删除-DEL-0
     */
    public String getDelFlag() {
        return delFlag;
    }

    /**
     * 设置：创建时间
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取：创建时间
     */
    public String getCreateTime() {
        return createTime;
    }

    /**
     * 设置：碎银流向:活动-ACTIVITY-01,消费-SHOPING-02
     */
    public void setCurrencySource(String currencySource) {
        this.currencySource = currencySource;
    }

    /**
     * 获取：碎银流向:活动-ACTIVITY-01,消费-SHOPING-02
     */
    public String getCurrencySource() {
        return currencySource;
    }

    /**
     * 设置：活动id
     */
    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    /**
     * 获取：活动id
     */
    public String getActivityId() {
        return activityId;
    }

    /**
     * 设置：碎银变化类型:增加-ADD-01,减少-LESS-02,无变化-ORI-03
     */
    public void setCurrencyType(String currencyType) {
        this.currencyType = currencyType;
    }

    /**
     * 获取：碎银变化类型:增加-ADD-01,减少-LESS-02,无变化-ORI-03
     */
    public String getCurrencyType() {
        return currencyType;
    }

    /**
     * 设置：碎银变化量
     */
    public void setCurrencyCount(BigDecimal currencyCount) {
        this.currencyCount = currencyCount;
    }

    /**
     * 获取：碎银变化量
     */
    public BigDecimal getCurrencyCount() {
        return currencyCount;
    }

    /**
     * 设置：用户当前积分余额
     */
    public void setCurrencyBalance(BigDecimal currencyBalance) {
        this.currencyBalance = currencyBalance;
    }

    /**
     * 获取：用户当前积分余额
     */
    public BigDecimal getCurrencyBalance() {
        return currencyBalance;
    }

    @Override
    public String toString() {
        return "CurrencyCustomerLogDO{" +
                "logId=" + logId +
                ",customerId=" + customerId +
                ",payId=" + payId +
                ",delFlag=" + delFlag +
                ",createTime=" + createTime +
                ",currencySource=" + currencySource +
                ",activityId=" + activityId +
                ",currencyType=" + currencyType +
                ",currencyCount=" + currencyCount +
                ",currencyBalance=" + currencyBalance +
                "}";
    }
}
